//
//  HELPDFfileCacheTool.h
//  HandheldELearn
//
//  Created by wsj2015 on 16/7/20.
//  Copyright © 2016年 陈武琦. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface HELPDFfileCacheTool : NSObject

/**
 *  判断沙盒里面是否有 pdf文件
 *
 *  @param pdfName <#pdfName description#>
 *
 *  @return   没有 返回nil 
 */
+(NSString *)isChchedWithPdfFilename:(NSString *)pdfName;


+ (NSString *)getDownloadPathWithPdfName:(NSString *)pdfName;

/**
 *  获取学习过的页数
 *
 *  @param pdfKey <#pdfKey description#>
 *
 *  @return <#return value description#>
 */
+ (NSNumber *)getLastPageFromKey:(NSString *)pdfKey;
/**
 *  保存学习到的页数
 *
 *  @param page   <#page description#>
 *  @param pdfKey <#pdfKey description#>
 */
+ (void)saveLastPage:(NSInteger)page withPdfKey:(NSString *)pdfKey;








@end
